<?php
	session_name("interoprouter");
	session_start();

	// first, decide the text, based on language
	switch ($_SESSION["lang"])
	{
		case "en":
			$msgs = array("Links" => "Links", "Equipe" => "Team",
					"Download" => "Download", "Unicamp" => "Unicamp",
					"Admin" => "Administrator");
			break;
		default:
			$msgs = array("Links" => "Links", "Equipe" => "Equipe",
					"Download" => "Download", "Unicamp" => "Unicamp",
					"Admin" => "Administrador");
			break;
	}
?>
<?php
	if ($_SESSION["admin"] == "yes") { ?> <a href="admin.php"><?=$msgs["Admin"];?></a> <? }
?>
<a href="links.php"><?=$msgs["Links"];?></a>
<a href="equipe.php"><?=$msgs["Equipe"];?></a>
<a href="http://www.codeplex.com/LMSU" target="_blank"><?=$msgs["Download"];?></a>
<a href="http://www.unicamp.br/" target="_blank"><?=$msgs["Unicamp"];?></a>